<?php
/**
 * Description of ContentUser
 *
 * @author Honza, Kevin
 */
class ContentUser implements IMainBodyWithSubMenu {
//get content to display nagvigation to user 
  public function getContent() {
    return NavigationUser::getContent();
  }
//showing nagivation in the ui 
  public function getSubNavigation() {
    $submenu .= '<a href="index.php?where=user&subwhere=details">Details</a> | ';
    $submenu .= '<a href="index.php?where=user&subwhere=change">Edit details</a> | ';
    $submenu .= '<a href="index.php?where=user&subwhere=borrowings">My borrowings</a> | ';
    $submenu .= '<a href="index.php?where=user&subwhere=requests">My requests</a> | ';
    $submenu .= '<a href="index.php?where=user&subwhere=history">History of borrowings</a>';
    
    return $submenu;
  }

}

?>
